package com.tjetc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(indexName = "commonquestion")
public class CommonQuestion {
    @Id
    @Field(type = FieldType.Integer,store = true, index = true)
private Integer id;
    @Field(type = FieldType.Text,store = true, index = true)
private String xuzhi;
}
